package com.service;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.entity.Goods;

import java.util.List;

public interface GoodsService {
    List<Goods> findAll();

    Goods findById(Integer id);

    Integer delete(Integer id);

    Integer update(Goods goods);

    Integer save(Goods goods);

    Page<Goods> selectPage(Page<Goods> goodsPage);
}
